package com.lsc.study.inner;

public class Demo {

    public Demo() {
        System.out.println("构造方法");
    }

    {
        System.out.println("匿名代码块");
    }

    static {
        System.out.println("静态代码块");
    }

    public static void main(String[] args) {

        new Demo();
        new Demo();

    }



}
